﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>打印交接文具</title>
    <style type="text/css">
    
        table tr td
        {
            text-align: left;
            padding: 2px;
            height: 25px;
            font-weight: bold;
            border: 1px solid black;
            vertical-align:middle;
        }
        
        table
        {
            table-layout: fixed;
            border-collapse: collapse;
            border: 1px solid black;
            width: 100%;
        }
        .style1
        {
            height: 17px;
        }
        
    </style>

    <script type="text/javascript" language="javascript">
        function scriptxPrint() {
            var h = factory.printing.header;
            var f = factory.printing.footer;
            //factory.printing.SetMarginMeasure(1);  1-毫米 2英寸（默认值为2）
            factory.printing.topMargin = 7;
            factory.printing.bottomMargin = 0.2756;
            //factory.printing.leftMargin = 0.2756;
            //factory.printing.rightMargin = 0.2756;
            factory.printing.header = '';
            factory.printing.footer = '';
            factory.printing.portrait = false;
            factory.DoPrint(true);
            factory.printing.header = h;
            factory.printing.footer = f;
        };
    </script>

</head>
<body>
    
    {content}

    <object id='factory' style='display:none' viewastext classid='clsid:1663ed61-23eb-11d2-b92f-008048fdd814'
 codebase='smsx.cab#Version=7,2,0,36'></object>
</body>
</html>
<script type="text/javascript" language="javascript">
    scriptxPrint();
    window.opener = null;
    window.close();
</script>
